home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / audio / DAT / example1.dat < prev    next >
Encoding:
Text File  |  1994-08-02  |  669 b   |  23 lines

  1. #
  2. # This is an example of creating a DAT tape with three audio programs.
  3. #
  4. seek bot                 # go to the beginning of the tape
  5. leadin                    # write a lead-in on the tape
  6. rate 44                    # set the rate to 44.1 kHz
  7. prohibit n                # no copy protection
  8. program 1                # begin the first program
  9. index 1
  10. write /usr/tmp/track1.aiff        # write the specified file to tape
  11. program                    # increment the program number
  12. index 0                    # index 0 is inter-program spacing
  13. silence 100                # 100 frames of silence is 3 seconds
  14. index                    # increment the index number
  15. write /usr/tmp/track2.aiff
  16. program
  17. index 0
  18. silence 100
  19. index
  20. write /usr/tmp/track3.aiff
  21. leadout                    # write a lead-out
  22. quit                    # we're done
  23.